//
//  GuideScene.m
//  jumpingfrog
//
//  Created by Tri Vo on 8/17/13.
//  Copyright 2013 Tri Vo. All rights reserved.
//

#import "GuideScene.h"
#import "SceneManager.h"

@implementation GuideScene

+ (CCScene *) scene {
    CCScene *pScene = [CCScene node];
    GuideScene *pLayer = [GuideScene node];
    [pScene addChild:pLayer];
    return pScene;
}

- (id)init {
    if (self = [super init]) {
        [self initScreen];
    }
    return self;
}

- (void)dealloc {
    [super dealloc];
}

#pragma mark - Scene Methods

- (void) initScreen {
    
    // Btn back
    CCMenuItemFont *pBtnBack = [CCMenuItemFont itemWithString:STR_ABOUT block:^(id sender){
        [[SceneManager getInstance] goMenu];
    }];
    CCMenu *pMenuBack = [CCMenu menuWithItems:pBtnBack, nil];
    [pMenuBack setPosition:CGPointMake(50, 30)];
    [self addChild:pMenuBack];
}

#pragma mark - Scene Actions

@end
